package com.chat.admin.domain.VO;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 用户管理员登录返回给前端的信息
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class LoginAdminVO {
    private String account;//账号
    private String username;//用户名
    private List<String> roles;//权限列表
    private String accessToken;//判断是否登录
    private String refreshToken;//用于刷新token
    private String expires;//创建时间
}
